package com.youlai.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 护理记录表实体
 *
 * @author Ray Hao
 * @since 2025-09-01
 */
@Getter
@Setter
@TableName("wx_kf_record")
public class WxKfRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 客户ID
     */
    private Long kfId;

    /**
     * 日期
     */
    private LocalDate serviceDate;

    /**
     * 护理内容
     */
    private String content;

    /**
     * 护理人
     */
    private String nurseName;

    /**
     * 剩余次数
     */
    private Integer remainNum;

    /**
     * 金额
     */
    private String amount;

    /**
     * 客户签名
     */
    private String signature;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人ID
     */
    private Long createBy;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 修改人ID
     */
    private Long updateBy;

    /**
     * 逻辑删除标识(0-未删除 1-已删除)
     */
    @TableField("is_deleted")
    private Boolean deleted;
}
